package com.ruoyi.warning.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.warning.domain.entity.Event;
import com.ruoyi.warning.domain.query.EventQuery;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * 告警模版表 服务类
 * </p>
 *
 * @author chenhc
 * @since 2025-02-20
 */
public interface IEventService extends IService<Event> {

    TableDataInfo getEventPage(EventQuery query);

    String refresh() throws Exception;

    List<Event> getEventList(EventQuery query);

    String pictureUrl(String id);

    void video(String id, HttpServletResponse response) throws Exception;

    String download(Event event) throws Exception;

    void receiveEvent(Object obj) throws Exception;
}
